-
Home
-
WooCommerce
-
6.5.1
-
Code
-
Classes
- BlockTemplatesController
Total Complexity |
62 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
353 |
Lines of code |
195 |
Logical lines of code |
103 |
Comment lines |
112 |
Methods |
10 |
Properties |
2 |
Methods 10
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
render_block_template() |
B |
49 |
18 |
30 |
add_block_templates() |
A |
44 |
15 |
41 |
get_block_file_template() |
A |
47 |
8 |
34 |
get_block_templates_from_woocommerce() |
A |
49 |
8 |
31 |
get_block_templates_from_db() |
S |
52 |
3 |
25 |
__construct() |
S |
65 |
3 |
8 |
block_template_is_available() |
S |
65 |
3 |
9 |
get_templates_directory() |
S |
72 |
2 |
6 |
init() |
S |
71 |
1 |
5 |
get_block_templates() |
S |
70 |
1 |
6 |